﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Send.aspx.cs" Inherits="Wicresoft.RDW.Feedback.Send" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        #divQuestion li
        {
            list-style: none;
            width: 100%;
        }
        #tbFeedback
        {
            background-color: #ccc;
            width: 100%;
        }
        #tbFeedback tr
        {
            background-color: #fff;
            height: 27px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:PlaceHolder ID="phBody" runat="server">
        <div class="center">
            <div class="box">
                <div class="main_title">
                    <h2>
                        <%=Resources.NameResource.FeedbackHeader %></h2>
                </div>
                <div class="line_gray">
                </div>
                <div class="divForm">
                    <table id="tbFeedback" border="0" cellspacing="1" cellpadding="0">
                        <tr>
                            <th align="left" width="150px">
                                <%=Resources.NameResource.Request_RequestUserID%>:
                            </th>
                            <th align="left" width="100px">
                                <asp:Label ID="lblRequestName" runat="server" Font-Bold="false" Font-Size="Small"></asp:Label>
                            </th>
                            <th align="left" width="150px">
                                <%=Resources.NameResource.Visit_Date%>：
                            </th>
                            <th align="left" width="400px">
                                <asp:Label ID="lblRequestDate" runat="server" Font-Bold="false" Font-Size="Small"></asp:Label>
                            </th>
                        </tr>
                        <tr>
                            <th align="left" width="150px">
                                <%=Resources.NameResource.RequestUserDepartment%>:
                            </th>
                            <th align="left" width="100px">
                                <asp:Label ID="lblRequestDepartment" runat="server" Font-Bold="false" Font-Size="Small"></asp:Label>
                            </th>
                            <th align="left" width="150px">
                                <%=Resources.NameResource.RequestUserContact%>：
                            </th>
                            <th align="left" width="400px">
                                <asp:Label ID="lblRequestTel" runat="server" Font-Bold="false" Font-Size="Small"></asp:Label>
                            </th>
                        </tr>
                        <tr>
                            <th align="left" width="150px">
                                <%=Resources.NameResource.Visit_AccompanyManager%>:
                            </th>
                            <th align="left" width="100px">
                                <asp:Label ID="lblAccompanyName" runat="server" Font-Bold="false" Font-Size="Small"></asp:Label>
                            </th>
                            <th align="left" width="150px">
                                <%=Resources.NameResource.Visit_CompanyName%>：
                            </th>
                            <th align="left" width="400px">
                                <asp:Label ID="lblVisitDepartment" runat="server" Font-Bold="false" Font-Size="Small"></asp:Label>
                            </th>
                        </tr>
                        <tr>
                            <th align="left" width="150px">
                                <%=Resources.NameResource.AccompanyDepartment%>:
                            </th>
                            <th align="left" width="100px">
                                <asp:Label ID="lblAccompanyDepartment" runat="server" Font-Bold="false" Font-Size="Small"></asp:Label>
                            </th>
                            <th align="left" width="150px">
                                <%=Resources.NameResource.AccompanyContact%>：
                            </th>
                            <th align="left" width="400px">
                                <asp:Label ID="lblAccompanyTel" runat="server" Font-Bold="false" Font-Size="Small"></asp:Label>
                            </th>
                        </tr>
                    </table>
                </div>
                <div class="line_gray">
                </div>
                <div class="main_title">
                    <h3 style="color: #528a1e">
                        <%=Resources.NameResource.FeedbackBody %></h3>
                </div>
                <div class="line_gray">
                </div>
                <div class="fore" id="divQuestion">
                    <asp:DataList ID="dlFeedbackQuestion" runat="server" OnItemDataBound="dlFeedbackQuestion_ItemDataBound"
                        Width="100%">
                        <ItemTemplate>
                            <li class="title_fore">
                                <%=i++ %>.
                                <%# Language.ToString()== "CN" ?Eval("Question_CN").ToString(): Eval("Question_EN")%>
                            </li>
                            <asp:RequiredFieldValidator ID="rfvFeedback" runat="server" ControlToValidate="rbtnlAnswer"
                                SetFocusOnError="True" ForeColor="Red" Width="100%" Display="Dynamic"></asp:RequiredFieldValidator>
                            <li class="content_fore">
                                <asp:RadioButtonList ID="rbtnlAnswer" runat="server" RepeatLayout="Flow">
                                </asp:RadioButtonList>
                            </li>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
                <div class="line_gray">
                </div>
                <div class="sqbtnPane">
                    <p class="sqbtn">
                        <asp:LinkButton ID="lbtnReturn" runat="server" OnClick="lbtnReturn_Click" CausesValidation="false" /></p>
                    <p class="sqbtn">
                        <asp:LinkButton ID="lbtnSubmit" runat="server" OnClick="lbtnSubmit_Click" /></p>
                    <p class="sqbtn">
                        <asp:LinkButton ID="lbtnCancel" runat="server" OnClick="lbtnCancel_Click" CausesValidation="false" /></p>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </asp:PlaceHolder>
</asp:Content>
